<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
class drParametrContainer{
    
    private $options;

    public function __construct() {
        $this->options = null;
    }
    
    public function setOption($option_name, $value){
        $this->options[$option_name] = $value;
    }
    
    public function deleteOption($option_name){
        unset($this->options[$option_name]);
    }
    
    public function getOption($option_name){
        if(isset($this->options[$option_name])){
            return $this->options[$option_name];
        }else{
            return null;
        }
    }
}
